package com.figure.service.dto.security;


import com.figure.service.dto.BaseDto;

import java.util.List;

public class ResourcesDto extends BaseDto {

    private Long id;

    private String name;

    private Long parentId;

    private String icon;

    private Integer ishide;

    private String resKey;

    private String resUrl;

    private Integer level;

    private String type;

    private String description;

    private List<ResourcesDto> children;

    public List<ResourcesDto> getChildren() {
        return children;
    }

    public void setChildren(List<ResourcesDto> children) {
        this.children = children;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getIshide() {
        return ishide;
    }

    public void setIshide(Integer ishide) {
        this.ishide = ishide;
    }

    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resources.id
     *
     * @param id the value for resources.id
     *
     * @mbggenerated Thu Apr 07 00:12:16 CST 2016
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resources.name
     *
     * @return the value of resources.name
     *
     * @mbggenerated Thu Apr 07 00:12:16 CST 2016
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resources.name
     *
     * @param name the value for resources.name
     *
     * @mbggenerated Thu Apr 07 00:12:16 CST 2016
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resources.level
     *
     * @return the value of resources.level
     *
     * @mbggenerated Thu Apr 07 00:12:16 CST 2016
     */
    public Integer getLevel() {
        return level;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resources.level
     *
     * @param level the value for resources.level
     *
     * @mbggenerated Thu Apr 07 00:12:16 CST 2016
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resources.type
     *
     * @return the value of resources.type
     *
     * @mbggenerated Thu Apr 07 00:12:16 CST 2016
     */
    public String getType() {
        return type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resources.type
     *
     * @param type the value for resources.type
     *
     * @mbggenerated Thu Apr 07 00:12:16 CST 2016
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column resources.description
     *
     * @return the value of resources.description
     *
     * @mbggenerated Thu Apr 07 00:12:16 CST 2016
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column resources.description
     *
     * @param description the value for resources.description
     *
     * @mbggenerated Thu Apr 07 00:12:16 CST 2016
     */
    public void setDescription(String description) {
        this.description = description;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getResKey() {
        return resKey;
    }

    public void setResKey(String resKey) {
        this.resKey = resKey;
    }

    public String getResUrl() {
        return resUrl;
    }

    public void setResUrl(String resUrl) {
        this.resUrl = resUrl;
    }
}